package com.sdy.dcsb.biz.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.sdy.common.model.BaseModel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.util.Date;

/**
 * @author Snaky
 * 接口封装字典值配置信息
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@ApiModel(value = "EsbDictionary", description = "接口封装字典值配置信息")
public class EsbDictionary extends BaseModel {
    private static final long serialVersionUID = 1L;
    /**
     * 主键id
     */
    @ApiModelProperty(value = "主键id")
    @TableId(type = IdType.AUTO)
    private Integer id;
    /**
     * 字典名称a
     */
    @ApiModelProperty(value = "字典名称")
    private String dicName;
    /**
     * 字典值key
     */
    @ApiModelProperty(value = "字典值key")
    private String dicKey;
    /**
     * 字典值value
     */
    @ApiModelProperty(value = "字典值value")
    private String dicValue;
    /**
     * 创建日期
     */
    @ApiModelProperty(value = "创建日期")
    @JsonFormat(pattern = DATETIME_FORMAT)
    private Date createDate;
}
